← Back to issue list

Having python3-netaddr as a stage package produces external symlink

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1774410
Type
issue
State
open
Author
~bjornt
Labels
Created
2018-05-31 12:50:29.469879+00:00
Updated
2018-05-31 12:50:29.469879+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

I you specify python3-netaddr as a stage-package in your snapcraft.yaml, the result snap will contain symlinks that point outside the snap, i.e to /var/lib/... However, if you already have python3-netaddr installed, or specify it as a build package, the same symlinks will be relative, and point to ../../../../../var/lib/... I don't see why specifying python3-netaddr as a stage-package shouldn't work out of the box. This is with snapcraft 2.42

Evaluation history

No evaluation history available.